<%-- 
    Document   : cerrarSesion.jsp
    Created on : 16/01/2009, 05:21:38 PM
    Author     : gabriel
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">
   
<%@ page import="java.util.*" %>
<%
    /*Vector variables=(Vector)session.getAttributeNames();
    int i;
    for(i=0; i < variables.size(); i++){
        out.println("**Salida "+(String)variables.get(i));
    }*/
    Enumeration names = session.getAttributeNames();
    while (names.hasMoreElements()) {
        String name = (String) names.nextElement();
        session.setAttribute(name, null);
    }
    response.sendRedirect("index.jsp");

%>